<div class="float_left">
	{$multipage}
</div>
<table class="float_right tbl-border">
	<tr>{$newthread}</tr>
</table>
<br class="clear" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tbl-border" style="clear: both;">
	<tr>
		<td class="forum-caption" colspan="{$colspan}" >
			<div style="float: right;">
				<span class="smalltext"><strong><a href="misc.php?action=markread&amp;fid={$fid}">{$locale['markforum_read']}</a> | <a href="usercp2.php?action={$add_remove_subscription}subscription&amp;type=forum&amp;fid={$fid}">{$add_remove_subscription_text}</a>{$clearstoredpass}</strong></span>
			</div>
			<div>
				<strong>{$foruminfo['forum_name']}</strong>
			</div>
		</td>
	</tr>
	<tr>
		<td class="tbl2" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$locale['thread']}</a> {$orderarrow['subject']} / <a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$locale['author']}</a> {$orderarrow['starter']}</strong></span></td>
		<td class="tbl2" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$locale['replies']}</a> {$orderarrow['replies']}</strong></span></td>
		<td class="tbl2" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$locale['views']}</a> {$orderarrow['views']}</strong></span></td>
		{$ratingcol}
		<td class="tbl2" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$locale['lastpost']}</a> {$orderarrow['lastpost']}</strong></span></td>
		{$inlinemodcol}
	</tr>
	{$announcementlist}
	{$threads}
	<tr>
		<td class="tfoot" align="right" colspan="{$colspan}">
			<form action="viewforum.php" method="get">
				<input type="hidden" name="forum_id" value="{$fid}" />
				{$locale['sort_by']}
                <select name="sortby" class="textbox">
					<option value="subject" {$sortsel['subject']}>{$locale['sort_by_subject']}</option>
					<option value="lastpost" {$sortsel['lastpost']}>{$locale['sort_by_lastpost']}</option>
					<option value="starter" {$sortsel['starter']}>{$locale['sort_by_starter']}</option>
					<option value="started" {$sortsel['started']}>{$locale['sort_by_started']}</option>
					{$ratingsort}
					<option value="replies" {$sortsel['replies']}>{$locale['sort_by_replies']}</option>
					<option value="views" {$sortsel['views']}>{$locale['sort_by_views']}</option>
				</select>
                {$locale['sort_order']}
				<select name="order" class="textbox">
					<option value="asc" {$ordersel['asc']}>{$locale['sort_order_asc']}</option>
					<option value="desc" {$ordersel['desc']}>{$locale['sort_order_desc']}</option>
				</select>
                {$locale['datelimit_from']}
				<select name="datecut" class="textbox">
					<option value="1" {$datecutsel['1']}>{$locale['datelimit_1day']}</option>
					<option value="5" {$datecutsel['5']}>{$locale['datelimit_5days']}</option>
					<option value="10" {$datecutsel['10']}>{$locale['datelimit_10days']}</option>
					<option value="20" {$datecutsel['20']}>{$locale['datelimit_20days']}</option>
					<option value="50" {$datecutsel['50']}>{$locale['datelimit_50days']}</option>
					<option value="75" {$datecutsel['75']}>{$locale['datelimit_75days']}</option>
					<option value="100" {$datecutsel['100']}>{$locale['datelimit_100days']}</option>
					<option value="365" {$datecutsel['365']}>{$locale['datelimit_lastyear']}</option>
					<option value="9999" {$datecutsel['9999']}>{$locale['datelimit_beginning']}</option>
				</select>
				{$gobutton}
			</form>
		</td>
	</tr>
</table>
<div class="float_left">
	{$multipage}
</div>
<table class="float_right tbl-border">
	<tr>{$newthread}</tr>
</table>
<br style="clear: both;" />
<br />
<div class="float_left">
	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$imgtdir}newfolder.gif" alt="{$locale['new_thread']}" title="{$locale['new_thread']}" /> {$locale['new_thread']}</dd>
			<dd><img src="{$imgtdir}newhotfolder.gif" alt="{$locale['new_hot_thread']}" title="{$locale['new_hot_thread']}" /> {$locale['new_hot_thread']}</dd>
			<dd><img src="{$imgtdir}hotfolder.gif" alt="{$locale['hot_thread']}" title="{$locale['hot_thread']}" /> {$locale['hot_thread']}</dd>
		</dl>
	</div>

	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$imgtdir}folder.gif" alt="{$locale['no_new_thread']}" title="{$locale['no_new_thread']}" /> {$locale['no_new_thread']}</dd>
			<dd><img src="{$imgtdir}dot_folder.gif" alt="{$locale['posts_by_you']}" title="{$locale['posts_by_you']}" /> {$locale['posts_by_you']}</dd>
			<dd><img src="{$imgtdir}lockfolder.gif" alt="{$locale['locked_thread']}" title="{$locale['locked_thread']}" /> {$locale['locked_thread']}</dd>
		</dl>
	</div>
	<br style="clear: both" />
</div>

<div class="float_right" style="text-align: right;">
	{$inlinemod}
	{$searchforum}
	{$forumjump}
</div>
<br style="clear: both" />
{$inline_edit_js}
